#include "gobang_server.hpp"
#include "daemon.hpp"
#include "MysqlPool.hpp"
int main()
{
    std::string host = "127.0.0.1";
    std::string user = "root";
    std::string pass = "lixiaoxu1880";
    std::string dbname = "online_gobang";
    MysqlPool::initialize(host,user,pass,dbname);
    gobang_server gbs;
    // daemonSelf();
    gbs.start(8080);
    return 0;
}
